package com.miplus.ccrm.core.service.commission;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.yulichang.base.MPJBaseService;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.commission.CommissionTempEditVo;
import com.miplus.ccrm.core.controller.vo.commission.CommissionTempListReqVo;
import com.miplus.ccrm.core.controller.vo.commission.CommissionTempReqVo;
import com.miplus.ccrm.core.controller.vo.commission.CommissionTempResVo;
import com.miplus.ccrm.core.controller.vo.strategy.RuleTaskListResVo;
import com.miplus.ccrm.core.controller.vo.strategy.RuleTaskReqVo;
import com.miplus.ccrm.core.pojo.CfgRuleTask;
import com.miplus.ccrm.core.pojo.FiCommissionTemplate;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wangzl
* @description 针对表【fi_commission_template】的数据库操作Service
* @createDate 2025-02-28 10:03:05
*/
public interface FiCommissionTemplateService extends MPJBaseService<FiCommissionTemplate> {
    IPage<CommissionTempResVo> getCommissionTemplateList(CommissionTempListReqVo para);
    //RuleTaskListResVo getRuleTaskInfo(Long taskId);

    CmdResVo addCommissionTemplate(String usrId, FiCommissionTemplate fiCommissionTemplate);
    CmdResVo updateCommissionTemplate(String usrId, CommissionTempEditVo commissionTempEditVo);

    CmdResVo deleteCommissionTemplate(Integer id);

    FiCommissionTemplate getAvailTemplate(String disttag, String day);
}
